<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>Tekdaqc Firmware: Digital_Input_t Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="customstyle.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Tekdaqc Firmware
   &#160;<span id="projectnumber">1.0.2.0</span>
   </div>
   <div id="projectbrief">The firmware of the Tekdaqc.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('struct_digital___input__t.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Groups</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">Digital_Input_t Struct Reference<div class="ingroups"><a class="el" href="group__digital__input.html">Digital Input</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>Data structure used to store the state and requirements of a digital input to the Tekdaqc. This data structure contains all the information related to a particular input to the Tekdaqc. Please note that while there is nothing to stop you from manipulating the values of the structure directly, it is not recommended as it could put the structure in an indeterminate state. Instead, manipulation functions are provided which will ensure that all state related implications are addressed.  
 <a href="struct_digital___input__t.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_digital___input_8h_source.html">Digital_Input.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a6f1a4402ff8651dfc5e453b5e3154c2d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__board__channel__constants.html#gab0f30599ceb99e5ba3b2908d8e9bd131">ChannelAdded_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_digital___input__t.html#a6f1a4402ff8651dfc5e453b5e3154c2d">added</a></td></tr>
<tr class="separator:a6f1a4402ff8651dfc5e453b5e3154c2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc35a555f8e6b8717b5232ee5220726f"><td class="memItemLeft" align="right" valign="top">GPI_TypeDef&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_digital___input__t.html#abc35a555f8e6b8717b5232ee5220726f">input</a></td></tr>
<tr class="separator:abc35a555f8e6b8717b5232ee5220726f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af41190915b6eafe6003d377631e93f5a"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_digital___input__t.html#af41190915b6eafe6003d377631e93f5a">name</a> [<a class="el" href="group__digital__input.html#gaf48b39ba82663f6926d1a02d1e501926">MAX_DIGITAL_INPUT_NAME_LENGTH</a>]</td></tr>
<tr class="separator:af41190915b6eafe6003d377631e93f5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a077d2fbd9f466d58856071f5314b9c09"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__board__channel__constants.html#gaee574a0d48c41a3e5426ffbf8ac4c5c4">DigitalLevel_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_digital___input__t.html#a077d2fbd9f466d58856071f5314b9c09">level</a></td></tr>
<tr class="separator:a077d2fbd9f466d58856071f5314b9c09"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a465bef81f6478756e5443025b1f2ddfa"><td class="memItemLeft" align="right" valign="top">uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_digital___input__t.html#a465bef81f6478756e5443025b1f2ddfa">timestamp</a></td></tr>
<tr class="separator:a465bef81f6478756e5443025b1f2ddfa"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="_digital___input_8h_source.html#l00073">73</a> of file <a class="el" href="_digital___input_8h_source.html">Digital_Input.h</a>.</p>
</div><h2 class="groupheader">Field Documentation</h2>
<a class="anchor" id="a6f1a4402ff8651dfc5e453b5e3154c2d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__board__channel__constants.html#gab0f30599ceb99e5ba3b2908d8e9bd131">ChannelAdded_t</a> added</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Addition status of the input. </p>

<p>Definition at line <a class="el" href="_digital___input_8h_source.html#l00074">74</a> of file <a class="el" href="_digital___input_8h_source.html">Digital_Input.h</a>.</p>

</div>
</div>
<a class="anchor" id="abc35a555f8e6b8717b5232ee5220726f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GPI_TypeDef input</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>An integer id for this input. </p>

<p>Definition at line <a class="el" href="_digital___input_8h_source.html#l00075">75</a> of file <a class="el" href="_digital___input_8h_source.html">Digital_Input.h</a>.</p>

</div>
</div>
<a class="anchor" id="a077d2fbd9f466d58856071f5314b9c09"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__board__channel__constants.html#gaee574a0d48c41a3e5426ffbf8ac4c5c4">DigitalLevel_t</a> level</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The recorded status of this input. </p>

<p>Definition at line <a class="el" href="_digital___input_8h_source.html#l00077">77</a> of file <a class="el" href="_digital___input_8h_source.html">Digital_Input.h</a>.</p>

</div>
</div>
<a class="anchor" id="af41190915b6eafe6003d377631e93f5a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char name[<a class="el" href="group__digital__input.html#gaf48b39ba82663f6926d1a02d1e501926">MAX_DIGITAL_INPUT_NAME_LENGTH</a>]</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Pointer to a C string name for this input. </p>

<p>Definition at line <a class="el" href="_digital___input_8h_source.html#l00076">76</a> of file <a class="el" href="_digital___input_8h_source.html">Digital_Input.h</a>.</p>

</div>
</div>
<a class="anchor" id="a465bef81f6478756e5443025b1f2ddfa"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint64_t timestamp</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The timestamp of the measurement in UNIX epoch format. </p>

<p>Definition at line <a class="el" href="_digital___input_8h_source.html#l00078">78</a> of file <a class="el" href="_digital___input_8h_source.html">Digital_Input.h</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="_digital___input_8h_source.html">Digital_Input.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="struct_digital___input__t.html">Digital_Input_t</a></li>
    <li class="footer">Generated on Mon Jul 28 2014 23:42:42 for Tekdaqc Firmware by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
